package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.system.domain.Feedback;
import com.ruoyi.system.mapper.FeedbackMapper;
import com.ruoyi.system.service.IFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户反馈Service业务层处理
 * 
 * @author wp
 * @date 2023-08-10
 */
@Service
public class FeedbackServiceImpl extends ServiceImpl<FeedbackMapper, Feedback> implements IFeedbackService {

    @Autowired
    private FeedbackMapper feedbackMapper;

    @DataScope
    @Override
    public List<Feedback> selectList(Feedback feedback){
        return feedbackMapper.list(feedback);
    }

}
